# RUN: llvm-ifs --input-format=IFS --output-ifs - %s | FileCheck %s --check-prefixes=CHECK-IFS

# CHECK-IFS: --- !ifs-v1
# CHECK-IFS-NEXT: IfsVersion: 3.0
# CHECK-IFS-NEXT: Target: x86_64-unknown-linux-gnu
# CHECK-IFS-NEXT: Symbols:
# CHECK-IFS-DAG:   - { Name: _Z8weakFuncv, Type: Func, Weak: true }
# CHECK-IFS-DAG:   - { Name: _Z10strongFuncv, Type: Func }
# CHECK-IFS: ...

--- !ifs-v1
IfsVersion: 3.0
Target: x86_64-unknown-linux-gnu
Symbols:
  - { Name: _Z8weakFuncv, Type: Func, Weak: true }
  - { Name: _Z10strongFuncv, Type: Func }
...
